﻿/************************************************************************
* Copyright (c) 2018 All Rights Reserved.
* 命名空间：ZTService.Modle
* 文件名：BetDataModel
* 创建人：David Rodríguez
* 创建时间：2018/7/30 星期一 9:52:53
* 描述：the received Json Model
*************************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace ZTService.Modle
{
    public class Root
    {
        public List<BetDataModel> configs { get; set; } = new List<BetDataModel>();

        public int uid { get; set; }

        public string encode { get; set; }
    }

    public class BetDataModel
    {
        public string chooseplayname { get; set; } //下注位置（1.位置投注 2.号码投注）
        public string votemode { get; set; } //投注模式 (1.常规 2.期期滚)
        public string doublemodel { get; set; } //翻倍模式(1.中翻倍 2.不中翻倍 3.一直翻倍)
        public string qiqigun { get; set; } //期期滚模式 (1.重复内容不投注)
        public List<VoteNum> choosenums { get; set; } = new List<VoteNum>();
        public string money { get; set; }
        public string zhiying { get; set; }
        public string zhisun { get; set; }
        public int kindid { get; set; }
    }


    public class VoteNum
    {
        public string num { get; set; }
        public string value1 { get; set; }
        public string valpos { get; set; }
    }


    public enum KindId : int
    {
        重庆时时彩 = 7,
        北京赛车 = 9
    }

    public enum BetIdea
    {
        位置投注 = 1,
        号码投注 = 2
    }

    public enum BetModel
    {
        常规 = 1,
        期期滚 = 2
    }

    public enum DoubleModel
    {
        中翻倍 = 1,
        不中翻倍 = 2,
        一直翻倍 = 3
    }

    public enum QiQiGun
    {
        重复内容不投注 = 1
    }

    public enum Pk10System
    {
        大 = 0,
        小 = 1,
        单 = 2,
        双 = 3,
        龙 = 4,
        虎 = 5,
        冠亚大 = 6,
        冠亚小 = 7,
        冠亚单 = 8,
        冠亚双 = 9,
        冠亚和 = 10,
        数字 = 11
    }
}